package com.ipzoe.act.mapper;

import com.ipzoe.act.domain.Activity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ipzoe.act.model.SignedActivityBO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 活动Mapper接口
 *
 * @author eric
 * @date 2020-08-17
 */
public interface ActivityMapper extends BaseMapper<Activity> {

    /**
     * 查询报名的活动列表
     * @param memberId
     * @param signStatus
     * @param activityStatus
     * @return
     */
    List<SignedActivityBO> listSignedActivity(@Param("memberId") Long memberId,@Param("signStatus") Integer signStatus, @Param("activityStatus") Integer activityStatus);
}
